package com.platform.dao;

import com.platform.entity.CategoryEntity;
import com.platform.entity.RegionDataVo;

import java.util.List;

/**
 * Dao
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-21 15:32:31
 */
public interface CategoryDao extends BaseDao<CategoryEntity> {

    public int deleteByParentBatch(Object[] id);

    /**
     * 根据父id查子元素
     * */
    List<RegionDataVo> queryListByParent(Object id);
}
